package com.company.cloud.pty;


import com.company.cloud.common.utils.MainUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@EnableHystrix
@EnableFeignClients(basePackages = { "com.company.cloud" })
@SpringBootApplication
@MapperScan(value = "com.company.**.**.modules.**.mapper")
@ComponentScan(basePackages = { "com.company" })
public class PtyApplication {
    public static void main(String[] args) {
        SpringApplication.run(PtyApplication.class, MainUtils.args(args));
    }
}
